package se.sll.service.catalogue.common.rest.model;

import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Class representing a code belonging to a code system.
 * @author Jiri Uosukainen
 */
@SuppressWarnings("PMD.UnusedPrivateField")
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class CodeSystemCode implements Serializable{

    @NotNull
    private String oid;
    @NotNull
    private String code;
    
    private String description;
    private String displayName;
    private String CodeSystem;
}
